export function getRandomMultipleInRange(min, max, multiple) {
    const minMultiple = Math.ceil(min / multiple) * multiple;
    const maxMultiple = Math.floor(max / multiple) * multiple;

    const multiplesCount = (maxMultiple - minMultiple) / multiple + 1;
    const randomIndex = Math.floor(Math.random() * multiplesCount);

    return minMultiple + randomIndex * multiple;
}